﻿@model ArunimaErp.Domain.styleinfo

@{
    ViewBag.Title = "Create";

    Layout = null;
}

<div class="module_content">

@using (Ajax.BeginForm("Create", "Style", new AjaxOptions
        {
            InsertionMode = InsertionMode.Replace, 
            HttpMethod = "POST",
            OnSuccess = "styleSuccess"
        }, new { @id = "StyleDialogeForm" }))
    {
    @Html.ValidationSummary(true)

    <div id="style-error-message" class="error invisible"></div>
    
    <div id="left-column">
        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.StyleNo)
            @Html.EditorFor(model => model.StyleNo)
            @Html.ValidationMessageFor(model => model.StyleNo)
        </div>
        </fieldset>
        

        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.StyleDescription)
            @Html.TextAreaFor(model => model.StyleDescription)
            @Html.ValidationMessageFor(model => model.StyleDescription)
        </div>
        </fieldset>
        

        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.Capacity)
            @Html.EditorFor(model => model.Capacity)
            @Html.ValidationMessageFor(model => model.Capacity)
        </div>
        </fieldset>  
    
        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.Sam)
            @Html.EditorFor(model => model.Sam)
            @Html.ValidationMessageFor(model => model.Sam)
        </div>
        </fieldset>    
        
    </div>
    
    
    <div id="right-column">

        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.DevisionId)
            @Html.DropDownList("DevisionId", String.Empty)
            @Html.ValidationMessageFor(model => model.DevisionId)
        </div>
        </fieldset> 

        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.Febrication)
            @Html.EditorFor(model => model.Febrication)
            @Html.ValidationMessageFor(model => model.Febrication)
        </div>
        </fieldset>
    
        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.BodyStyle)
            @Html.EditorFor(model => model.BodyStyle)
            @Html.ValidationMessageFor(model => model.BodyStyle)
        </div>
        </fieldset>
    
        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.BuyerId)
            @Html.DropDownList("BuyerId", String.Empty)
            @Html.ValidationMessageFor(model => model.BuyerId)
        </div>
        </fieldset>
            
        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.CustomerId)
            @Html.DropDownList("CustomerId", String.Empty)
            @Html.ValidationMessageFor(model => model.CustomerId)
        </div>
        </fieldset>

    </div>
}

</div>